﻿using System.Web.UI;

[assembly: WebResource("OpenWaves.EPiServer.AdminTools.LogViewer.UI.Images.Download.gif", "image/gif")]

namespace OpenWaves.EPiServer.AdminTools.LogViewer.UI
{
    public static class WebResources
    {
        public static string GetWebResourceImageUrl(this Page page, string resourceName)
        {
            return page.ClientScript.GetWebResourceUrl(typeof(WebResources), "OpenWaves.EPiServer.AdminTools.LogViewer.UI.Images." + resourceName);
        }        
    }
}